package com.ggs.service;

import com.ggs.DTO.UserDTO;
import com.ggs.pojo.User;

public interface UserService {

    void register(String username, String password);

    User findByName(String username);

    User login(String username, String password);

    void update(UserDTO userDTO);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd, String username);
}
